package week4.monday.one;

/**
 * @Package: week4.monday
 * @Author: yanjiali
 * @Created: 2024/3/18 20:52
 * 测试提交
 */
public class Main {
    public static void main(String[] args) {
        Sedan sedan = new Sedan();
        sedan.drive();
        sedan.soundTheHorn("小汽车");

        Truck truck = new Truck();
        truck.drive();
        truck.soundTheHorn("卡车");
    }
}
